import request from '@/utils/request.js'
import {articleCategoryUpdateService} from "@/api/admin/article.js";

export const schoolListService = ()=>{
    return request.get('/school/getSchoolList')
}

export const schoolAddService = (schoolData)=>{
    return request.post('/school/addSchool',schoolData)
}

export const schoolUpdateService = (schoolData)=>{
    return request.put('/school',schoolData)
}

export const schoolDeleteService = (id)=>{
    return request.delete('/school?id='+id)
}
